'use strict';

exports.main = async (event, context) => {
    if (event.path === '/login') {
        const loginFun = require('../login/main');
        return await loginFun(event, context);
    }
    return {
        code: 404,
        msg: '未找到对应的路由'
    };
};